package Enum;

public class EnumTest {
    public static void main(String[] args) {
        Season season = getSeason();
        switch (season){
            case SPRING -> System.out.println("春天");
            case SUMMER -> System.out.println("夏天");
            case AUTUMN -> System.out.println("秋天");
            case WINTER -> System.out.println("冬天");
        }
    }
    public static Season getSeason(){
        return Season.AUTUMN;
    }
}
